#!

# New method
#
#def displayNumType(num):
#	print(num,'is',end=' ')
#	if (isinstance(num,(int,float,complex))):
#		print('a number of type:',type(num).__name__)
#	else:
#		print('Not a number at all!!')
#

# Old method
#
def displayNumType(num):
	print(num,"is",end=" ")
	if(type(num)==type(0)):
		print("an integer")
#	elif(type(num)==type(0L)):
#		print("a long")
	elif(type(num)==type(0.0)):
		print("a float")
	elif(type(num)==type(0+0j)):
		print('a complex number')
	else:
		print('not a number at all!!')


displayNumType(-69)
displayNumType(99999999999999999)
displayNumType(98.6)
displayNumType(-5.2+1.9j)
displayNumType('xxx')
